package com.itqf.service;

import com.itqf.bean.DtsAdmin;
import com.itqf.dto.DtsSearchDto;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * projectName: shop_manage
 *
 * @author: MaTianWei
 * time: 2021/7/13 14:12
 * description:用户
 */
public interface DtsAdminService {
    //根据用户名查实体对象
    DtsAdmin queryByUsername (String username);

    Map findAdminByPage(DtsSearchDto dto);

    boolean checkUserName(String username);

    DtsAdmin saveAdmin(DtsAdmin admin);

    int updateAdmin(DtsAdmin dtsAdmin);

    int removeAdminById(Integer id);
}
